package com.gitee.sidihuo.sse;

import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 *  流式响应Http接口SSE参数封装对象
 */
public class SsePara {

    /**
     * 一次http请求会话id
     */
    private String id;

    /**
     * 流式http请求响应对象
     */
    private SseEmitter sseEmitter;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public SseEmitter getSseEmitter() {
        return sseEmitter;
    }

    public void setSseEmitter(SseEmitter sseEmitter) {
        this.sseEmitter = sseEmitter;
    }

}
